package io.renren.membermanage.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "登录参数")
public class LoginParam {
    /**
     * 用户名
     */
    @NotNull
    @Schema(description = "用户名")
    private String memberName;

    /**
     * 密码
     */
    @NotNull
    @Schema(description = "密码")
    private String memberPassword;

    /**
     * 设备
     */
    @NotNull
    @Schema(description = "设备")
    private String equipment;


    /**
     * 验证码的 key 即获取验证码时传入的uuid
     */
    @NotNull
    @Schema(description = "验证码的 key 即获取验证码时传入的uuid")
    private String captchaKey;

    /**
     * 验证码的值
     */
    @NotNull
    @Schema(description = "验证码的值")
    private String captchaValue;
}
